package br.com.prototipo;


import br.com.prototipo.R.id;
import android.R.id.*;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

public class PrototipoActivity extends Activity {
    /** Called when the activity is first created. */
	ImageButton bt_cad_mesa;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        bt_cad_mesa = (ImageButton) findViewById(id.cad_mesa);
        
        bt_cad_mesa.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				charmarCadMesa();
				
			}
		});
       
    }
    
    public void charmarCadMesa(){
    	setContentView(R.layout.frm_cad_mesas);
    }
    
}